package yns.springboot.guide.demo.exception;

/**
 * 
 * 只返回Code的枚举
 *
 */
public enum ExceptionCodeEnum {
	EXCEPTION_TYPE_1(1),
	EXCEPTION_TYPE_2(2);
	
	private Integer type;

	ExceptionCodeEnum(Integer type) {
		this.type = type;
	}

	public Integer getType() {
		return this.type;
	}
}
